/**
 * 配置
 * getUsers: { url:API_EPRS_RESOURCE_URL +  '/users', method: 'get', params: { pageSize: 10 } },
 * getUser: { url:API_EPRS_RESOURCE_URL +  '/user/:id', method: 'get' },
 * addUser: { url:API_EPRS_RESOURCE_URL +  '/user', method: 'post' },
 * deleteUser: { url:API_EPRS_RESOURCE_URL +  '/user/:id', method: 'delete' },
 * putUser: { url:API_EPRS_RESOURCE_URL +  '/user/:id', method: 'put' },
 *
 * 使用范例
 * api.getUsers({ pageNo: 0, pageSize: 10 })
 * api.getUser({ id: 10 })
 * api.addUser({ username: '雄黎明', ... })
 * api.deleteUser({ id: 10 })
 * api.putUser({ id: 10, username: '雄黎明', ... })
 *
 */
const API_DUTY_URL = "/duty"
export default {
    getEntDutysPage: { url: API_DUTY_URL + "/getEntDutysPage", method: "post" }, // 车辆信息取得
    getEntDutysList: { url: API_DUTY_URL + "/getEntDutysList", method: "post" }, // 车辆信息取得
    importDutysExcel:{ url: API_DUTY_URL + "/importDutysExcel", method: "post" },
    deleteBatchDutysByIds:{url:API_DUTY_URL +"/deleteBatchDutysByIds/:ids", method: "delete" }
};
